Searchanise\SmartWoocommerceSearch\Async D

Total Complexity 348
Dependencies 11
Dependents 9
Total lines 3,078
Lines of code 1,902
Logical lines of code 790
Comment lines 755
Methods 62
Properties 1

Methods 62

Method Rating Maintainability Complexity Lines of code
prepare_product_data()
D
12
56 376
async()
D
21
43 216
generate_product_prices()
B
38 22 71
prepare_product_meta_data()
B
29 11 150
init()
A
44 14 49
prepare_facet_data()
A
46 14 37
add_task_by_chunk()
A
43 10 52
get_products_data()
A
44 10 48
get_also_bought_products()
A
42 9 59
ajax_async()
A
51 10 23
get_product_quantity()
A
52 10 21
generate_product_attribute()
A
47 7 35
generate_usergroup_product_prices()
S
42 5 59
get_variation_product_prices()
S
52 7 23
get_categories_data()
S
47 6 36
get_pages_data()
S
47 6 35
get_product_image()
S
56 7 18
get_products_additional()
S
55 6 21
get_product_terms()
S
56 5 18
get_product_filters()
S
43 2 56
get_attribute_filters()
S
56 4 18
get_excluded_product_ids()
S
56 4 18
get_add_to_cart_product_url()
S
57 4 17
generate_product_meta_fields()
S
57 4 16
get_children_products()
S
58 4 15
get_quantity()
S
61 4 14
generate_filter_from_attribute()
S
60 4 12
remove_content_noise()
S
52 3 25
get_simple_product_prices()
S
54 3 21
get_product_tags()
S
58 3 16
get_options()
S
62 3 11
get_products_ids_from_range()
S
53 2 24
get_min_max_product_id()
S
58 2 17
check_attributtes()
S
64 3 10
generate_custom_product_attribute()
S
64 3 10
get_products_count()
S
60 2 15
generate_custom_attribute()
S
59 2 14
get_header()
S
60 2 13
get_pages_ids_from_range()
S
56 1 19
get_meta_product_types()
S
58 1 19
get_categories_ids_from_range()
S
57 1 18
get_min_max_page_id()
S
58 1 16
get_excluded_pages()
S
68 2 7
get_post_types()
S
69 2 7
get_excluded_categories()
S
68 2 7
get_instance()
S
71 2 6
get_stock_status()
S
66 2 8
get_attribute_id()
S
68 2 7
get_taxonomy_id()
S
68 2 7
get_user_groups()
S
68 2 7
get_min_max_category_id()
S
60 1 15
get_sortable_attributes()
S
63 1 12
add_jquery_objects()
S
65 1 12
add_async_objects()
S
63 1 11
get_strip_post_content()
S
76 1 4
is_usergroup_prices_available()
S
75 1 4
rated()
S
77 1 4
filter_grouped_values()
S
66 1 10
get_custom_taxonomies()
S
79 1 3
get_related_product_ids()
S
78 1 3
get_translate()
S
79 1 3
get_products_usergroup_ids()
S
74 1 4